import Vue from "vue"
import App from "./App.vue"
import router from "./router/index"
import store from "./store/index"

import "./mock/mockServer"

// 使用vue-lazyload实现图片懒加载
import VueLazyload from "vue-lazyload"
Vue.use(VueLazyload, {
  // 占位图
  loading: require("./common/images/loading.gif"),
})

Vue.config.productionTip = false

new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount("#app")
